home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / Recent1 / AmFTP175.lha / AmFTP / Rexx / rexx.doc < prev   
Text File  |  1996-11-25  |  6KB  |  136 lines

  1. AmFTP Arexx:
  2. ============
  3. V1 - overworked v1.53 Rexx Commands
  4. V2 - new implemented Rexx Commands since AmFTP Beta v1.62
  5. V3 - new since AmFTP Beta v1.64
  6. V4 - new since AmFTP Beta v1.68
  7.  
  8.  
  9. REXXPORT: AMFTP.1 / AMFTP.2 / ... (Shown in window title)
  10. ---------
  11.  
  12. Commands:
  13. ---------
  14.  
  15. CONNECT PROFILE/N        V1 Connect with server profile Nr. PROFILE.
  16.                             (See also CONNECTHOST to connect to a
  17.                             specified host, see also GETHOSTS, to get all
  18.                             profile labels)
  19.  
  20. CONNECTHOST HOST         V2 Connects to given host. (See also CONNECT to
  21.                             connection to a stored profile entry)
  22.  
  23. CLOSE                    V1 Closes Connection. (See also QUIT to close
  24.                             connection and quit)                    
  25.  
  26. ISCONNECTED              V1 Returns "1" in RESULT, if we're connected to
  27.                             any host.
  28.  
  29. CHANGEDIR DIR            V1 Sends changedir command to server.
  30.  
  31. CHANGELOCALDIR DIR/F     V2 Changes the directory in the left window.
  32.                             An empty pathname ("") causes a reload of
  33.                             local directory contents.
  34.  
  35. GETDIRS VAR              V1 Fills all directory entries from the right
  36.                             listview in a STEM variable.
  37.                             Returns number of entries in RESULT.
  38.                             (See also GETFILES)
  39.  
  40. GETLOCALDIRS             V2 Fills all directory entries from the left
  41.                             listview in a STEM variable.
  42.                             Returns number of entries in RESULT.
  43.                             (See also GETLOCALFILES)
  44.  
  45. GETFILES VAR             V1 Fills all file entries from the right
  46.                             listview in a STEM variable.
  47.                             Returns number of entries in RESULT.
  48.                             (See also GETDIRS)
  49.  
  50. GETLOCALFILES VAR        V2 Fills a STEM variable with the file contents
  51.                             of the current work directory.
  52.                             (See also GETLOCADIRS)
  53.  
  54. GETSELECTED VAR          V2 Returns the selected items in the right
  55.                             window into a STEM variable.
  56.  
  57. RECEIVE FILE             V1 Receives directly file from variable.
  58.                             (See also BATCH, RECEIVEBATCH)
  59.  
  60. BATCH FILE               V1 Marks file from variable in batch queue.
  61.                             (See also CLEARBATCH, RECEIVEBATCH)
  62.  
  63. CLEARBATCH               V2 Clears all contents of the batchwindow.
  64.                             (See also BATCH)
  65.  
  66. RECEIVEBATCH             V1 Receives batch queue from connected server.
  67.                             (See also BATCH, CLEARBATCH)
  68.  
  69. SEND FILE                V1 Sends local file from variable to remote
  70.                             server.
  71.                             (See also RECEIVE)
  72.  
  73. INACTION                 V2 Returns 1, when AmFTP is still in action
  74.                             (See also WAITACTION)
  75.  
  76. WAITACTION PORT          V2    Sends Msg to specified RexxMsgPort, when
  77.                             action of last command is done.
  78.                             Use just "call WAITPKT 'rexxmsgportname'" 
  79.                             from rexxsupport.library to wait.
  80.                             There is no need of a GETPKT afterwards.
  81.                             (Take a look at example rexx script how to
  82.                             use it)
  83.  
  84. RAW TEXT/F               V1 Sends raw command to connected server.
  85.                             You should know, what you're doing, using
  86.                             this command. (See also rfc 959)
  87.  
  88. ICONIFY                  V2 Iconifies the userinterface. (See also
  89.                             SHOWUP)
  90.  
  91. SHOWUP                   V2 De-Iconifies the userinterface. (See also
  92.                             ICONIFIY)
  93.  
  94. QUIT                     V2 Causes the programm to close the connection
  95.                             and end. (See CLOSE to only close connection)
  96.  
  97. GETHOSTS VAR             V1 Fills all profile entry labels in a STEM-
  98.                             variable. (See also CONNECT)
  99.  
  100. GETPROFILE PROFILE/N VAR V2 Fills the settings of the given profile in a
  101.                             STEM array.
  102.                             (See also SETPROFILE)
  103.                             (Take a look at example rexx script how to
  104.                             use it)
  105.                             The variables are:
  106.                             VAR.LABEL    Labelname
  107.                             VAR.HOST     Hostname
  108.                             VAR.PORT     Portnumber
  109.                             VAR.ADT      Aminet Download Tool-Server
  110.                             VAR.ANON     Anonymous Login?
  111.                             VAR.USERNAME Login username
  112.                             VAR.PASSWORD Login password
  113.                             VAR.DEFDIR   Default directory
  114.                             VAR.LOCALDIR Local directory
  115.                             VAR.COMPRESS Compression enabled? (V4)
  116.  
  117. SETPROFILE PROFILE/N VAR V2 Sets the profile according to the parameters
  118.                             given. (See CREATEPROFILE, GETPROFILE for use
  119.                             and parameters)
  120.                             Unset variables aren't changed in profile.
  121.                             (Take a look at example rexx script how to
  122.                             use it)
  123.  
  124. CREATEPROFILE LABEL      V2 Creates a new empty profile with given
  125.                             parameters.
  126.                             Returns the number of the created profile, to
  127.                             fill in with SETPROFILE.
  128.                             (See also GETPROFILE, SETPROFILE)
  129.                             (Take a look at example rexx script how to
  130.                             use it)
  131.  
  132. SAVEPROFILES             V3 Saves profilelist to disk.
  133.  
  134. SLEEP VAR                V4 Sets AmFTP to "sleep" mode.
  135.                             Two possible parameters: "ON" and "OFF".
  136.